/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Tin Pham
 */
public class Album  extends Item{
    public String description;
    public String path;
    
    /**
     * @return the createdDate
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param createdDate the createdDate to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
     /**
     * @return the createdDate
     */
    public String getPath() {
        return path;
    }

    /**
     * @param createdDate the createdDate to set
     */
    public void setPath(String description) {
        this.path = path;
    }
    
    private List<Image> _images;
    
    public Album()
    {
        this._images = new ArrayList<Image>();
    }
    
    public void add(Image image) {
        this._images.add(image);
    }
    
    public void remove(int index) {
        this._images.remove(index);
    }
    
    public void remove(Image image) {
        this._images.remove(image);
        
    }
    
}
